<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="/res/img/favicon.ico"  rel="shortcut icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="duwei">
<meta name="src" content="https://github.com/hidu/pproxy">
<title>{{.subTitle}}{{.title}} | pproxy {{.version}}</title>
<script src="/res/js/jquery.js"></script>
<link rel="stylesheet" href="/res/css/flat.css">
<link rel="stylesheet" href="/res/css/style.css">
<script>var pproxy_version="{{.version}}";</script>
</head>
<body>
<div id="nav">
<div id="menu">
       <ul id="left_submenu">
           <li class="border_first"><a href="/">session</a></li>
           <li><a href="/config">config</a></li>
           {{if .isLogin}}
           <li><a href="/file">file</a></li>
           {{end}}
           <li><a href="/about">about</a></li>
           <li><a href="/useage">useage</a></li>
       </ul>
       
       <div class='right'>
          <ul>
            <li  class="border_first">{{.notice}}</li>
            <li><span id="connect_status">&nbsp;</span></li>
            <li><span id="user_num_online">{{.userOnlineTotal}}</span> user</li>
            {{if .isLogin}}
              <li>{{.user.Name}}</li> 
              <li><a href="/logout">logout</a></li>
             {{else}}
              <li><a href="/login">login</a></li>
            {{end}}
         </ul> 
         </div>
       <div class="clear"></div>
</div>
</div>
<div class="clear"></div>
<div>
{{.body}}
</div>
<div class="clear"></div>
<div id="log_div"></div>
</body>
</html>